export function Delay(time: number): Promise<void>
{
    return new Promise(resolve => setTimeout(resolve, time));
}